package mka.puzzle.shape;


/***
 * Eclipse
 * @version 20131124
 * 
 * @author NguyenBB
 */
public class SimpleEclipse {
	/**
	 * Eclipse Equation: (x/a)^2 + (y/b)^2 = 1 
	 */
	private double a;
	private double b;
	
	public SimpleEclipse() {
		this.a = 0;
		this.b = 0;
	}
	
	public SimpleEclipse(int A, int B) {
		this.a = A;
		this.b = B;
	}
	
	public double getA() {
		return a;
	}
	
	public void setA(double a) {
		this.a = a;
	}
	
	public double getB() {
		return b;
	}
	
	public void setB(double b) {
		this.b = b;
	}
	
	public boolean containEclipse(Point p) {
		
		return true;
	}
}
